home *** CD-ROM | disk | FTP | other *** search
- head 1.1;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @@;
-
-
- 1.1
- date 89.01.09.11.43.28; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @' Copyright 1989 Regents of the University of California
- ' Permission to use, copy, modify, and distribute this
- ' documentation for any purpose and without fee is hereby
- ' granted, provided that this notice appears in all copies.
- ' The University of California makes no representations about
- ' the suitability of this material for any purpose. It is
- ' provided "as is" without express or implied warranty.
- '
- ' $Header: /sprite/lib/forms/RCS/proto.man,v 1.2 89/01/05 17:31:38 ouster Exp $ SPRITE (Berkeley)
- '
- .so \*(]ltmac.sprite
- .HS panic lib
- .BS
- .SH NAME
- panic \- Print error message and kill process
- .SH SYNOPSIS
- .nf
- \fBvoid
- panic(\fIformat\fB, \fIarg\fB, \fIarg\fB, ...)\fR
- .SH ARGUMENTS
- .AS char *format
- .AP char *format in
- Format string for error message to print.
- .AP ?? arg in
- Optional additional arguments providing information to print.
- .BE
-
- .SH DESCRIPTION
- \fBPanic\fR prints an error message on the standard error file and
- then kills the process by calling \fBabort\fR. The \fIformat\fR and
- \fIarg\fR arguments control the printing of the message just as if
- they had been passed to \fBprintf\fR.
-
- .SH KEYWORDS
- abort, error, message, panic
- @
-